package com.hdw.med.bean.model;

import java.io.Serializable;
import java.util.Date;

public class MdMedTblogDt implements Serializable {

	private static final long serialVersionUID = 1L;

	private Long idTblogDt;

	private Long idTblog;

	private String des;

	private Byte euStatus;

	private Date dtSysCre;

	private String sqlExec;

	private String title;

	public Long getIdTblogDt() {
	    return idTblogDt;
	}

	public void setIdTblogDt(Long idTblogDt) {
	    this.idTblogDt = idTblogDt;
	}

	public String getTitle() {
	    return title;
	}

	public void setTitle(String title) {
	    this.title = title == null ? null : title.trim();
	}

	public Long getIdTblog() {
	    return idTblog;
	}

	public void setIdTblog(Long idTblog) {
	    this.idTblog = idTblog;
	}

	public String getDes() {
	    return des;
	}

	public void setDes(String des) {
	    this.des = des == null ? null : des.trim();
	}

	public Byte getEuStatus() {
	    return euStatus;
	}

	public void setEuStatus(Byte euStatus) {
	    this.euStatus = euStatus;
	}

	public Date getDtSysCre() {
	    return dtSysCre;
	}

	public void setDtSysCre(Date dtSysCre) {
	    this.dtSysCre = dtSysCre;
	}

	public String getSqlExec() {
	    return sqlExec;
	}

	public void setSqlExec(String sqlExec) {
	    this.sqlExec = sqlExec == null ? null : sqlExec.trim();
	}

	@Override
	public boolean equals(Object that) {
	    if (this == that) {
	        return true;
	    }
	    if (that == null) {
	        return false;
	    }
	    if (getClass() != that.getClass()) {
	        return false;
	    }
	    MdMedTblogDt other = (MdMedTblogDt) that;
	    return (this.getIdTblogDt() == null ? other.getIdTblogDt() == null : this.getIdTblogDt().equals(other.getIdTblogDt())) && (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle())) && (this.getIdTblog() == null ? other.getIdTblog() == null : this.getIdTblog().equals(other.getIdTblog())) && (this.getDes() == null ? other.getDes() == null : this.getDes().equals(other.getDes())) && (this.getEuStatus() == null ? other.getEuStatus() == null : this.getEuStatus().equals(other.getEuStatus())) && (this.getDtSysCre() == null ? other.getDtSysCre() == null : this.getDtSysCre().equals(other.getDtSysCre())) && (this.getSqlExec() == null ? other.getSqlExec() == null : this.getSqlExec().equals(other.getSqlExec()));
	}

	@Override
	public int hashCode() {
	    final int prime = 31;
	    int result = 1;
	    result = prime * result + ((getIdTblogDt() == null) ? 0 : getIdTblogDt().hashCode());
	    result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
	    result = prime * result + ((getIdTblog() == null) ? 0 : getIdTblog().hashCode());
	    result = prime * result + ((getDes() == null) ? 0 : getDes().hashCode());
	    result = prime * result + ((getEuStatus() == null) ? 0 : getEuStatus().hashCode());
	    result = prime * result + ((getDtSysCre() == null) ? 0 : getDtSysCre().hashCode());
	    result = prime * result + ((getSqlExec() == null) ? 0 : getSqlExec().hashCode());
	    return result;
	}

	@Override
	public String toString() {
	    StringBuilder sb = new StringBuilder();
	    sb.append(getClass().getSimpleName());
	    sb.append(" [");
	    sb.append("Hash = ").append(hashCode());
	    sb.append(", serialVersionUID=").append(serialVersionUID);
	    sb.append(", idTblogDt=").append(idTblogDt);
	    sb.append(", title=").append(title);
	    sb.append(", idTblog=").append(idTblog);
	    sb.append(", des=").append(des);
	    sb.append(", euStatus=").append(euStatus);
	    sb.append(", dtSysCre=").append(dtSysCre);
	    sb.append(", sqlExec=").append(sqlExec);
	    sb.append("]");
	    return sb.toString();
	}

}